package org.example.gradleadmin.model.vo;

import gradle.common.core.annotation.SortPre;
import gradle.common.core.mode.page.BasePageVo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 用户分页Vo
 *
 * @author 1141193930@qq.com
 */
@Data
@Schema(description = "用户分页视图Vo")
@EqualsAndHashCode(callSuper = true)
public class SystemUserPageVo extends BasePageVo {

    /**
     * 主键ID
     */
    @Schema(description = "主键ID")
    private Long id;

    /**
     * 用户名
     */
    @Schema(description = "用户名")
    private String username;

    /**
     * 员工姓名
     */
    @Schema(description = "员工姓名")
    private String employeeName;

    /**
     * 员工邮箱
     */
    @Schema(description = "员工邮箱")
    private String employeeEmail;

    /**
     * 员工手机号
     */
    @Schema(description = "员工手机号")
    @SortPre(pre = "u.", value = "employee_phone")
    private String employeePhone;

    /**
     * 账号是否启用（1=启用，0=禁用)
     */
    @Schema(description = "账号是否启用（1=启用，0=禁用)")
    private String enable;

}
